package com.jiangyao.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "班级课程Dto")
public class ClassSubjectDto {
    @ApiModelProperty(value ="学期课程ID")
    private Integer clsubId;

    /**
     * 归属组织ID
     */
    private Integer orgId;

    /**
     * 班级id
     */
    private Integer classId;

    /**
     * 学期ID
     */
    @ApiModelProperty(value ="学期ID")
    private Integer semesterId;

    /**
     * 类型 1课堂教学 2线上课程
     */
    @ApiModelProperty(value ="类型 1课堂教学 2线上课程")
    private Integer type;

    /**
     * 课程ID
     */
    @ApiModelProperty(value ="课程ID")
    private Integer subjectId;

    /**
     * 课程名称
     */
    @ApiModelProperty(value ="课程名称")
    private String subjectName;

    /**
     * 学习状态 1待学习 2学习中 3已学习
     */
    @ApiModelProperty(value ="学习状态 1待学习 2学习中 3已学习")
    private Integer learnStatus;


    @ApiModelProperty(value ="登陆用户ID",hidden = true)
    private Integer currentUserId;

    public ClassSubjectDto(Integer orgId, Integer classId, Integer semesterId, Integer type) {
        this.orgId = orgId;
        this.classId = classId;
        this.semesterId = semesterId;
        this.type = type;
    }


    public ClassSubjectDto(Integer orgId, Integer classId, Integer semesterId, Integer subjectId,Integer currentUserId) {
        this.orgId = orgId;
        this.classId = classId;
        this.semesterId = semesterId;
        this.subjectId = subjectId;
        this.currentUserId = currentUserId;
    }
}
